package lab01;

/**
 * Created by ASUS on 2017/10/10.
 */
public class Test07 {public static void main(String[] args)
{
    char a='\0';
    System.out.println("please input a Level(A-D)");
    try
    {
        a=(char)System.in.read();

    }catch(Exception e)
    {
        System.out.println(e);

    }
    if(a == 'A')
        System.out.println("成绩范围在85-100");
    if(a == 'B')
        System.out.println("成绩范围在70-85");
    if(a == 'C')
        System.out.println("成绩范围在60-70");
    if(a == 'D')
        System.out.println("成绩范围在60分以下");
}
}
